package com.sun.dubboserverprovider;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@MapperScan("com.sun.*.dao")
@EnableDubbo //开启注解
//@ImportResource("classpath:provider.xml")
public class DubboServerProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(DubboServerProviderApplication.class, args);
    }

}
